add gnu attributes to addtional printf like functions (#1088)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Wed, 26 Apr 2023 23:02:18 +0000 (17:02 -0600)
committerGitHub <noreply@github.com>
Wed, 26 Apr 2023 23:02:18 +0000 (17:02 -0600)
commitf90160dfe1d8b05bfec4f1be976c0e5a2e39a57f
treee00a4c6c7b621a3bffe1a8f5da580ff315a7a711
parentde86a98694b865b1abc8a40afbabb1e5efdf98fc
add gnu attributes to addtional printf like functions (#1088)

* add gnu attribute for format string checks on additional functions.

* silence msvc whining about unknown attributes.

In c++17 unknown attributes should be ignored without causing an error.
But these warnings are excessive:
"warning C5030: attribute 'gnu::format' is not recognized"
CMakeLists.txt
defs.h
gbfile.h